<!DOCTYPE html>
<html>
<head>
<title>用户管理</title>
#parse("include/header.html")
</head>
<body>
<div id="dpLTE" class="container-fluid" v-cloak>
	<div class="row">
		<div class="col-md-6 form-inline pull-left">
			<div class="form-group">
		    	<input v-model="keyword" @keyup.enter="load" class="form-control" placeholder="请输入查询关键字" style="width: 220px;" />
			</div>
			<div class="form-group">
			    <a class="btn btn-primary" @click="load"><i class="fa fa-search"></i>&nbsp;查询</a>
			</div>
		</div>
		<div class="col-md-6">
			<div class="btn-toolbar pull-right">
				<div class="btn-group">
		            <a v-if="hasPermission('sys:user:list')" class="btn btn-default" onclick="reload();"><i class="fa fa-refresh"></i>&nbsp;刷新</a>
		            <a v-if="hasPermission('sys:user:save')" class="btn btn-default" @click="save"><i class="fa fa-plus"></i>&nbsp;增加关联</a>
		            <!-- 
		            <a v-if="hasPermission('sys:user:edit')" class="btn btn-default" @click="edit"><i class="fa fa-pencil-square-o"></i>&nbsp;编辑</a>
		             <a v-if="hasPermission('sys:user:remove')" class="btn btn-default" @click="remove"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
		              -->
		        </div>
		        
	        </div>
		</div>
	</div>
	<div class="row">
		<table id="dataGrid"></table>
	</div>
</div>
#parse("include/footer.html")
 <script src="${rc.contextPath}/statics/js/base/exhibitionhall/item.js?_${date.systemTime}"></script>
 <script type="text/javascript">
 
 
 function exhibitionoperateFormatter(value, row, index) {
     return [
      
     '<button type="button" class="exhibitionOfRemove btn btn-default  btn-sm" style="margin-right:15px; @click="remove"">删除关联</button>'
     
     ].join('');
     }
 
	 window.exhibitionoperateEvents = {
          
         'click .exhibitionOfRemove': function (e, value, row, index) {
        	// alert("aaaa")
        	 var ck = $('#dataGrid').bootstrapTable('getSelections'), ids = [];	
 			if(checkedRow(ck)){
 				$.each(ck, function(idx, item){
 					ids[idx] = item.exhibitionId;
 				});
 				$.RemoveForm({
 					url: '../../servicedata/exhibition/removeRelationToHall?_' + $.now(),
 			    	param: ids,
 			    	success: function(data) {
 			    		vm.load();
 			    	}
 				});
 			}

         }
 };
 
 </script>
 
</body>
</html>